import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import '@/assets/css/global.css'

import * as ELIcons from '@element-plus/icons-vue'
// createApp(App)
const app = createApp(App)
app.use(store).use(router).use(ElementPlus,{locale: zhCn,size:"small"})

app.use(ElementPlus)
for (let iconName in ELIcons) {
    app.component(iconName, ELIcons[iconName])
}
// import {ArrowDown, Edit, Lock} from '@element-plus/icons-vue'
// app.component('arrow-down',ArrowDown)
// app.component('lock',Lock)
// app.component('edit',Edit)
app.mount('#app')
